<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./1.js"></script>
    <link rel="stylesheet" href="./1.css">
</head>
<body>
    <img src="../../12-Dom/images/1.jpg" alt="">
    <script>
        var oImg = document.querySelector('img');
        oImg.onload = function(){// 当图片下载并加载完成之后调用
            console.log('高清大图已下载完毕，请欣赏');
        }
        console.log('end1111');
    </script>
</body>
</html>